{% extends 'mobile/base.html' %}
{% load static %}

{% block mainbody %}
    {#    <link rel="stylesheet" href="{% static 'mobile/css/bootstrap.min.css' %}">#}
    <style>
        .list {
            margin-top: 20px;
        }
    </style>
    <!--头部-->
    <header>
        <div class="header">
            <h1>我的资料</h1>
            <a href="{% url 'mobile_member_index' %}" class="return"><i></i></a>
        </div>
    </header>

    <!--内容区-->
    <article class="main-container loginContent">
        <div class="list">
            <ul class="line">
                <li>
                    <i class="icon-allorders"></i>头像
                    <span style="margin-right: 30px">
                        <img style="height: 40px;width: 40px; margin-top: 5px"
                             src="{% static 'uploads/member' %}/{{ request.session.mobileuser.avatar }}">
                    </span>
                    <span class="icon-arrowright"></span>
                </li>
            </ul>
            <ul class="line">
                <li>
                    <i class="icon-coupons"></i>昵称
                    <span style="margin-right: 30px">
                        {{ request.session.mobileuser.nickname }}
                    </span>
                    <span class="icon-arrowright"></span>
                </li>
                <li>
                    <i class="icon-coupons"></i>成交单数
                    <span style="margin-right: 30px">
                        {{ orders_num }}
                    </span>
                    <span class="icon-arrowright"></span>
                </li>
                <li>
                    <i class="icon-coupons"></i>制作中
                    <span style="margin-right: 30px">
                        {{ orders_num_1 }}
                    </span>
                    <span class="icon-arrowright"></span>
                </li>
            </ul>
        </div>
    </article>
{% endblock %}
{% block myjs %}

{% endblock %}
